Menu Content/Inhalt
Home

Articles

Poker Tips

Login






Lost Password?
No account yet? Register

PokerTH - Forum

homepost replythreaded viewruleshelp
 
madmike
User

Fresh Boarder
Posts: 2
graphgraph
Karma: 0  
Rechtes Enter funktioniert nicht beim Raise - 2007/07/13 02:00 Moin

Wenn ich raise kann ich die mittlere Entertaste nutzen aber nicht die beim Num-Block. Hier ist der Patch, durch den es dann geht:

Index: src/gui/qt/mainwindow/mainwindowimpl.cpp
===================================================================
--- src/gui/qt/mainwindow/mainwindowimpl.cpp (Revision 634)
+++ src/gui/qt/mainwindow/mainwindowimpl.cpp (Arbeitskopie)
@@ -2561,7 +2561,7 @@

bool ctrlPressed = FALSE;

- if (event->key() == 16777220) { if(spinBox_set->hasFocus()) pushButton_CallCheckSet->click(); } //ENTER
+ if (event->key() == Qt::Key_Enter) { if(spinBox_set->hasFocus()) pushButton_CallCheckSet->click(); } //ENTER
if (event->key() == Qt::Key_F1) { pushButton_FoldAllin->click(); }
if (event->key() == Qt::Key_F2) { pushButton_CallCheckSet->click(); }
if (event->key() == Qt::Key_F3) { pushButton_BetRaise->click(); }
  The administrator has disabled public write access.
doitux
Admin

Admin
Posts: 254
graph
Karma: 16  
Re:Rechtes Enter funktioniert nicht beim Raise - 2007/07/13 04:09 Hi madmike

Thanks for the patch. I have merged it. It is in svn rev 635 now.
regards
doitux
____________________________
doitux@pokerth.net
  The administrator has disabled public write access.
heyn
User

Platinum Boarder
Posts: 239
graphgraph
Karma: 14  
Re:Rechtes Enter funktioniert nicht beim Raise - 2007/07/16 03:07 Does the "middle" Enter still work for you guys? My "middle" Enter now seems to work like the NumLock Enter used to (select bet amount) and vice versa.

heyn
  The administrator has disabled public write access.
doitux
Admin

Admin
Posts: 254
graph
Karma: 16  
Re:Rechtes Enter funktioniert nicht beim Raise - 2007/07/16 05:30 You are right. It is fixed in rev 636.

I changed the line to:

if (event->key() == Qt::Key_Enter || event->key() == Qt::Key_Return ) { if(spinBox_set->hasFocus()) pushButton_CallCheckSet->click(); }
regards
doitux
____________________________
doitux@pokerth.net
  The administrator has disabled public write access.
designed by www.madeyourweb.com