mirror of
				https://bitbucket.org/mfeemster/fractorium.git
				synced 2025-10-29 00:10:24 -04:00 
			
		
		
		
	Merged in mmastriani/fractorium_michel (pull request #27)
Fixed Minus Key for Windows, Mac and Linux Approved-by: Matt Feemster <matt.feemster@gmail.com>
This commit is contained in:
		| @ -404,9 +404,11 @@ bool Fractorium::eventFilter(QObject* o, QEvent* e) | |||||||
| 		} | 		} | ||||||
| 		else if (o == this) | 		else if (o == this) | ||||||
| 		{ | 		{ | ||||||
| 			auto focusedctrl = dynamic_cast<QSpinBox*>(this->focusWidget()); |             auto focusedctrlSpin = dynamic_cast<QSpinBox*>(this->focusWidget()); | ||||||
|  |  | ||||||
| 			if (!focusedctrl)//Doesn't seem to matter, but just to be safe. |             auto focusedctrlDbSpin = dynamic_cast<QDoubleSpinBox*>(this->focusWidget()); | ||||||
|  |  | ||||||
|  |             if (!focusedctrlSpin && !focusedctrlDbSpin)//Doesn't seem to matter, but just to be safe. | ||||||
| 			{ | 			{ | ||||||
| 				unsigned int index = combo->currentIndex(); | 				unsigned int index = combo->currentIndex(); | ||||||
|  |  | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Michel Mastriani
					Michel Mastriani