diff options
Diffstat (limited to 'clients/tde/src/app/remotemdi.cpp')
-rw-r--r-- | clients/tde/src/app/remotemdi.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clients/tde/src/app/remotemdi.cpp b/clients/tde/src/app/remotemdi.cpp index 4c3cb20..8647145 100644 --- a/clients/tde/src/app/remotemdi.cpp +++ b/clients/tde/src/app/remotemdi.cpp @@ -141,6 +141,12 @@ void RemoteMDI::startModule() { RemoteLab::InstrumentView* view = new RemoteLab::InstrumentView(st.clientLibrary, st.name, (mdiMode() == KMdi::ToplevelMode) ? 0 : this); connect(view, SIGNAL(statusMessageSet(const TQString&)), this, SLOT(updateStatusBarWindowMessage(const TQString&))); + if (st.singleInstance) { + // RAJA FIXME + // Store the kaction and this view pointer both in a list + // Also remember to alter updateStatusBarWindowMessage to store the latest string for the active window and display properly + const_cast<KAction*>(sendingAction)->setEnabled(false); + } openNewWindow(view); if (m_serverHost != "") { view->connectServer(m_serverHost); |