From 669df123648aaa6aeccc70206b5417bc48b4e9ae Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:26:50 +0200 Subject: 5.19 --- ui/small_dlgs.cpp | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'ui/small_dlgs.cpp') diff --git a/ui/small_dlgs.cpp b/ui/small_dlgs.cpp index 304e4269..b7b7828b 100644 --- a/ui/small_dlgs.cpp +++ b/ui/small_dlgs.cpp @@ -384,10 +384,9 @@ void DeleteDialog::updateGui() { wxWindowUpdateLocker dummy(this); //avoid display distortion - const std::pair delInfo = zen::deleteFromGridAndHDPreview( - rowsToDeleteOnLeft, - rowsToDeleteOnRight, - m_checkBoxDeleteBothSides->GetValue()); + const std::pair delInfo = zen::deleteFromGridAndHDPreview(rowsToDeleteOnLeft, + rowsToDeleteOnRight, + m_checkBoxDeleteBothSides->GetValue()); wxString header; if (m_checkBoxUseRecycler->GetValue()) { @@ -406,7 +405,13 @@ void DeleteDialog::updateGui() const wxString& fileList = utfCvrtTo(delInfo.first); m_textCtrlFileList->ChangeValue(fileList); - + /* + There is a nasty bug on wxGTK under Ubuntu: If a multi-line wxTextCtrl contains so many lines that scrollbars are shown, + it re-enables all windows that are supposed to be disabled during the current modal loop! + This only affects Ubuntu/wxGTK! No such issue on Debian/wxGTK or Suse/wxGTK + => another Unity problem like the following? + http://trac.wxwidgets.org/ticket/14823 "Menu not disabled when showing modal dialogs in wxGTK under Unity" + */ Layout(); } -- cgit