Arsenic-ATG / Qt-calculator

A simple GUI calculator🧮 built using C++
MIT License
63 stars 52 forks source link

Make binary operators mutually exclusive #19

Closed Arsenic-ATG closed 2 years ago

Arsenic-ATG commented 2 years ago

After digging a bit more in QT's docs, I found out that we can group buttons and set the buttons to be mutually exclusive ( with the help of Exclusive property of the class ).

So now all the binary operator buttons are mutually exclusive, meaning only one can be set to checked state at any given point in time, this should fix issue #18 .