From: Kern Sibbald Date: Sat, 16 Feb 2013 18:11:54 +0000 (+0100) Subject: Fix text input in bat. Fixe bug #1965 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e03475f593a2ddce1b65f4b33ceb0060cb6feadb;p=bacula%2Fbacula Fix text input in bat. Fixe bug #1965 --- diff --git a/bacula/src/qt-console/bcomm/dircomm.cpp b/bacula/src/qt-console/bcomm/dircomm.cpp index 94ddd6d105..b2261f9508 100644 --- a/bacula/src/qt-console/bcomm/dircomm.cpp +++ b/bacula/src/qt-console/bcomm/dircomm.cpp @@ -371,7 +371,8 @@ int DirComm::read() case BNET_TEXT_INPUT: if (mainWin->m_commDebug) Pmsg4(000, "conn %i TEXT_INPUT at_prompt=%d m_in_select=%d notify=%d\n", m_conn, m_at_prompt, m_in_select, is_notify_enabled()); - if (!m_in_select && is_notify_enabled()) { + //if (!m_in_select && is_notify_enabled()) { + if (!m_in_select) { mainWin->waitExit(); new textInputDialog(m_console, m_conn); } else { diff --git a/bacula/src/qt-console/select/textinput.ui b/bacula/src/qt-console/select/textinput.ui index a72fc8a201..4991b8f2cd 100644 --- a/bacula/src/qt-console/select/textinput.ui +++ b/bacula/src/qt-console/select/textinput.ui @@ -10,47 +10,89 @@ 0 0 430 - 132 + 96 + + Qt::StrongFocus + - Selection dialog + Text input dialog - - - - + + + + + 0 + 0 + + + + + 50 + 0 + + + + + 100 + 16777215 + + + + Qt::TabFocus - - + + + + + 0 + 0 + + - TextLabel + Message - - - - + + + 5 + Qt::Horizontal + + QSizePolicy::Expanding + - 40 - 20 + 26 + 9 + + + 0 + 0 + + + + + 16777215 + 38 + + Qt::Horizontal