[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/kspread/ui
From: Stefan Nikolaus <nikolaus.kde () googlemail ! com>
Date: 2010-06-26 8:24:17
Message-ID: 20100626082417.4219FAC8DF () svn ! kde ! org
[Download RAW message or body]
SVN commit 1142966 by nikolaus:
Cleanup: Do not adjust the action states, if the reference selection mode is active.
M +4 -5 CellToolBase.cpp
--- trunk/koffice/kspread/ui/CellToolBase.cpp #1142965:1142966
@@ -1227,9 +1227,11 @@
if (!d->optionWidget) {
return;
}
- // if we're in ref viewing mode, do nothing here
- if (editor() && selection()->referenceSelection() && (!selection()->referenceSelectionMode()))
+ // Update the editor, if the reference selection is enabled.
+ if (editor() && selection()->referenceSelectionMode()) {
+ editor()->updateChoice();
return;
+ }
// State of manual page breaks before columns/rows.
bool columnBreakChecked = false;
@@ -1258,9 +1260,6 @@
}
d->updateEditor(cell);
d->updateActions(cell);
- if (selection()->referenceSelectionMode() && editor()) {
- editor()->updateChoice();
- }
if (selection()->activeSheet()->isProtected()) {
const Style style = cell.style();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic