mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-06-30 13:26:02 -04:00
--Bug fixes
-Fix some potential OpenCL compilation bugs on circlecrop, circlecrop2, oscilloscope2, Truchet_hex_crop. -Prevent the minus key from changing the current xform when being pressed in a textbox. --Code changes -Cleanup some casting in depth_blur, depth_blur2.
This commit is contained in:
@ -404,10 +404,11 @@ bool Fractorium::eventFilter(QObject* o, QEvent* e)
|
||||
}
|
||||
else if (o == this)
|
||||
{
|
||||
auto focusedctrlEdit = dynamic_cast<QLineEdit*>(this->focusWidget());
|
||||
auto focusedctrlSpin = dynamic_cast<QSpinBox*>(this->focusWidget());
|
||||
auto focusedctrlDbSpin = dynamic_cast<QDoubleSpinBox*>(this->focusWidget());
|
||||
auto focusedctrlDblSpin = dynamic_cast<QDoubleSpinBox*>(this->focusWidget());
|
||||
|
||||
if (!focusedctrlSpin && !focusedctrlDbSpin)//Must exclude these because otherwise, typing a minus key in any of the spinners will switch the xform.
|
||||
if (!focusedctrlEdit && !focusedctrlSpin && !focusedctrlDblSpin)//Must exclude these because otherwise, typing a minus key in any of the spinners will switch the xform.
|
||||
{
|
||||
unsigned int index = combo->currentIndex();
|
||||
|
||||
|
Reference in New Issue
Block a user