mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fix the edition of cylinders and weigths by keypress
This patch fixes the cylinders and weigth edition by keypress. I don`t know when I broke this and linus found, most probably when I added the code for showing the cylinder size and working press while moving the mouse around the list - sorry guys. So, now this *seems* fixed, tested for a fairly good amount of time and everything seemed ok. I was unable to reproduce the behavior that linus got on two value overlapped on each other, tougth. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
parent
098aa6343b
commit
b036a318c6
2 changed files with 9 additions and 3 deletions
|
@ -23,7 +23,7 @@ public:
|
|||
virtual void updateEditorGeometry(QWidget* editor, const QStyleOptionViewItem& option, const QModelIndex& index) const;
|
||||
virtual bool eventFilter(QObject* object, QEvent* event);
|
||||
public slots:
|
||||
void testActivation(const QString& s);
|
||||
void testActivation(const QString& currString = QString());
|
||||
//HACK: try to get rid of this in the future.
|
||||
void fakeActivation();
|
||||
virtual void revertModelData(QWidget* widget, QAbstractItemDelegate::EndEditHint hint) = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue