<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>215352</bug_id>
          
          <creation_ts>2009-11-20 00:46:36 +0000</creation_ts>
          <short_desc>Undo after won is allowed</short_desc>
          <delta_ts>2012-01-10 21:52:19 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kmahjongg</product>
          <component>general</component>
          <version>0.8</version>
          <rep_platform>Ubuntu</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>frg10</reporter>
          <assigned_to name="Mauricio Piacentini">piacentini</assigned_to>
          <cc>CerebrosuS</cc>
    
    <cc>kde-games-bugs-null</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin>KDE 4.9</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>865223</commentid>
    <comment_count>0</comment_count>
    <who name="">frg10</who>
    <bug_when>2009-11-20 00:46:36 +0000</bug_when>
    <thetext>Version:           0.8 (using KDE 4.3.2)
OS:                Linux
Installed from:    Ubuntu Packages

It is possible to undo move after winnig a game.

Following steps to reproduce:
1) Win a game
2) Wait until the end of animation
3) Press &quot;Undo&quot;
4) Remove the last pair
5) Win AGAIN! New result will be placed in High Scores list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1190550</commentid>
    <comment_count>1</comment_count>
      <attachid>66073</attachid>
    <who name="Christian Krippendorf">CerebrosuS</who>
    <bug_when>2011-11-25 18:53:33 +0000</bug_when>
    <thetext>Created attachment 66073
Solve the reported bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1212724</commentid>
    <comment_count>2</comment_count>
    <who name="Christian Krippendorf">CerebrosuS</who>
    <bug_when>2012-01-10 21:49:50 +0000</bug_when>
    <thetext>SVN commit 1273015 by krippendorf:

Undo after game won - Bug

After a game is won, the application is set into &quot;finished&quot;-mode and no undo actions are allowed anymore.

FIXED-IN: KDE 4.9
REVIEW: 6841


 M  +13 -1     kmahjongg.cpp  
 M  +1 -0      kmahjongg.h  
 M  +17 -0     kmahjonggui.rc  


WebSVN link: http://websvn.kde.org/?view=rev&amp;revision=1273015</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>66073</attachid>
            <date>2011-11-25 18:53:33 +0000</date>
            <delta_ts>2011-11-25 18:53:33 +0000</delta_ts>
            <desc>Solve the reported bug.</desc>
            <filename>UndoAfterFinish.diff</filename>
            <type>text/plain</type>
            <size>1131</size>
            <attacher name="Christian Krippendorf">CerebrosuS</attacher>
            
              <data encoding="base64">SW5kZXg6IGttYWhqb25nZy9rbWFoam9uZ2cuY3BwCj09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIGttYWhqb25nZy9r
bWFoam9uZ2cuY3BwCShSZXZpc2lvbiAxMjY1NzY1KQorKysga21haGpvbmdnL2ttYWhqb25nZy5j
cHAJKEFyYmVpdHNrb3BpZSkKQEAgLTM5Myw5ICszOTMsNyBAQAogICAgICAgICBpZihrc2RpYWxv
Zy5hZGRTY29yZSggc2NvcmVJbmZvLCBLU2NvcmVEaWFsb2c6OkFza05hbWUgKSkKICAgICAgICAg
ICBrc2RpYWxvZy5leGVjKCk7CiAKLQlidy0+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WxlTnVtKzEpKTsK
</data>

          </attachment>
      

    </bug>

</bugzilla>