From b22349f85eed26ff563de2cb4b6d3637f247a63c Mon Sep 17 00:00:00 2001 From: Carter Date: Sun, 24 May 2009 22:53:12 -0400 Subject: [PATCH] Fixed bug 380115 (enableToolbarButtons() was being called too early). Signed-off-by: Carter --- src/mudlet.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mudlet.cpp b/src/mudlet.cpp index 505a4c0..abd54c0 100644 --- a/src/mudlet.cpp +++ b/src/mudlet.cpp @@ -891,7 +891,6 @@ void mudlet::connectToServer() connect (pDlg, SIGNAL (signal_establish_connection( QString, int )), this, SLOT (slot_connection_dlg_finnished(QString, int))); pDlg->fillout_form(); pDlg->exec(); - enableToolbarButtons(); } void mudlet::show_trigger_dialog() @@ -1082,6 +1081,7 @@ void mudlet::slot_connection_dlg_finnished( QString profile, int historyVersion if( ! pHost ) return; addConsoleForNewHost( pHost ); + enableToolbarButtons(); pHost->mBlockScriptCompile = false; pHost->getScriptUnit()->compileAll(); //NOTE: this is a potential problem if users connect by hand quickly -- 1.6.0.6