Spreadsheet: Don't update line edit on top unless we have to.

This commit is contained in:
Eivind Kvedalen
2016-01-08 23:09:00 +01:00
parent 160d88c883
commit a760487ad2
+3 -1
View File
@@ -307,7 +307,9 @@ void SheetView::updateCell(const App::Property *prop)
CellAddress address;
sheet->getCellAddress(prop, address);
updateContentLine();
if (currentIndex().row() == address.row() && currentIndex().column() == address.col() )
updateContentLine();
}
catch (...) {
// Property is not a cell