File tree Expand file tree Collapse file tree
SQLiteStudio3/guiSQLiteStudio/datagrid Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# ChangeLog
22
33### 3.4.19
4+ - BUGFIX: #5443 Fixed data entering in Grid View after it has got broken in 3.4.18 (entering editing mode by starting to type jumped to wrong cell).
45- BUGFIX: #5447 Database object filtering improved - both speed (3x) and reliability (i.e. typing while filtering is in progress).
56- BUGFIX: #5450 Increased precision for very small decimal numbers (like 1e-15).
67- BUGFIX: #5440 Fixed formatting string literals in WITH-CTE clause.
Original file line number Diff line number Diff line change @@ -47,8 +47,7 @@ void SqlQueryView::init()
4747 itemDelegate = new SqlQueryItemDelegate ();
4848 setItemDelegate (itemDelegate);
4949 setMouseTracking (true );
50- // setEditTriggers(QAbstractItemView::AnyKeyPressed|QAbstractItemView::EditKeyPressed);
51- setEditTriggers (QAbstractItemView::NoEditTriggers);
50+ setEditTriggers (QAbstractItemView::AnyKeyPressed|QAbstractItemView::EditKeyPressed);
5251
5352 setContextMenuPolicy (Qt::CustomContextMenu);
5453 contextMenu = new QMenu (this );
@@ -679,12 +678,11 @@ void SqlQueryView::keyPressEvent(QKeyEvent *e)
679678 {
680679 if (state () != QAbstractItemView::EditingState)
681680 shouldOpenEditor = true ;
682- // edit(currentIndex());
683681 }
684682
685683 QTableView::keyPressEvent (e);
686684
687- if (shouldOpenEditor)
685+ if (shouldOpenEditor && state () != QAbstractItemView::EditingState )
688686 {
689687 edit (currentIndex ());
690688 QApplication::sendEvent (focusWidget (), e);
You can’t perform that action at this time.
0 commit comments