[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kexi] src/core: KexiWindow: clear status before switching views
From:       Jaroslaw Staniek <staniek () kde ! org>
Date:       2016-02-29 23:12:22
Message-ID: E1aaWzG-0000sv-JH () scm ! kde ! org
[Download RAW message or body]

Git commit be3574640b910a7028fe1bdb08f9e7b5b918568f by Jaroslaw Staniek.
Committed on 29/02/2016 at 23:07.
Pushed by staniek into branch 'master'.

KexiWindow: clear status before switching views

(from calligra.git)

M  +1    -0    src/core/KexiWindow.cpp

http://commits.kde.org/kexi/be3574640b910a7028fe1bdb08f9e7b5b918568f

diff --git a/src/core/KexiWindow.cpp b/src/core/KexiWindow.cpp
index d1373d8..e4d8c42 100644
--- a/src/core/KexiWindow.cpp
+++ b/src/core/KexiWindow.cpp
@@ -415,6 +415,7 @@ tristate KexiWindow::switchToViewMode(
     bool *proposeOpeningInTextViewModeBecauseOfProblems)
 {
     Q_ASSERT(proposeOpeningInTextViewModeBecauseOfProblems);
+    clearStatus();
     KexiMainWindowIface::global()->acceptPropertySetEditing();
 
     const bool designModePreloadedForTextModeHack = \
isDesignModePreloadedForTextModeHackUsed(newViewMode);


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic