Skip to content
  • Niklas Freund's avatar
    Workaround for minimum size not being kept when deactivating constants · 0bb46354
    Niklas Freund authored and Albert Astals Cid's avatar Albert Astals Cid committed
    BUG: 448760
    
    In my previous resizing support merge request (utilities/kcalc!24), I made sure that any KCalc mode changes that happen at minimum window size result in the window resizing itself to the new minimum size. However, this turns out to not have worked in one specific case: Showing/Hiding the constants buttons.
    
    Upon investigation of this issue, I noticed that `minimumSize()` isn't updating correctly after hiding of the buttons (and stays at the old minimumSize). Thus, the call to `resize(minimumSize())` doesn't work.
    0bb46354