aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/list/ListWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/list/ListWindow.cpp')
-rw-r--r--src/modules/list/ListWindow.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/list/ListWindow.cpp b/src/modules/list/ListWindow.cpp
index 44fdf0689..84fcd18b4 100644
--- a/src/modules/list/ListWindow.cpp
+++ b/src/modules/list/ListWindow.cpp
@@ -291,8 +291,10 @@ void ListWindow::requestList()
KviCString parms = m_pParamsEdit->text();
if(parms.isEmpty())
m_pConsole->connection()->sendFmtData("list");
- else
+ else {
+ m_pParamsEdit->setText("");
m_pConsole->connection()->sendFmtData("list %s",m_pConsole->connection()->encodeText(parms.ptr()).data());
+ }
outputNoFmt(KVI_OUT_SYSTEMMESSAGE,__tr2qs("Sent list request, waiting for reply..."));
m_pRequestButton->setEnabled(false);