Skip to content

Commit

Permalink
the riset button now resets everything
Browse files Browse the repository at this point in the history
  • Loading branch information
m-audio91 committed Oct 16, 2017
1 parent 87617f5 commit 406f888
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 16 deletions.
2 changes: 1 addition & 1 deletion subzbor.lpi
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
<MajorVersionNr Value="1"/>
<MinorVersionNr Value="6"/>
<RevisionNr Value="3"/>
<BuildNr Value="4"/>
<BuildNr Value="8"/>
<StringTable Comments="http://mohammadrezab.blogsky.com" CompanyName="MohammadReza Bahrami" FileDescription="Free subtitle cutting tool with the help of FFmpeg and MKVToolNix" InternalName="SubzBor" LegalCopyright="MohammadReza Bahrami" OriginalFilename="subzbor" ProductName="SubzBor" ProductVersion="1.6.3.0"/>
</VersionInfo>
<BuildModes Count="3">
Expand Down
31 changes: 16 additions & 15 deletions umain.lfm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ object SBMain: TSBMain
Width = 500
AllowDropFiles = True
Caption = 'SubzBor v1.6.3'
ClientHeight = 330
ClientHeight = 329
ClientWidth = 500
Constraints.MinHeight = 350
Constraints.MinWidth = 500
Expand Down Expand Up @@ -37,7 +37,7 @@ object SBMain: TSBMain
Left = 6
Height = 20
Top = 14
Width = 184
Width = 212
Align = alLeft
BorderSpacing.Left = 6
BorderSpacing.Top = 14
Expand Down Expand Up @@ -141,7 +141,7 @@ object SBMain: TSBMain
end
object SubtitleFileL: TLabel
Left = 8
Height = 15
Height = 17
Top = 50
Width = 484
Align = alTop
Expand All @@ -156,8 +156,8 @@ object SBMain: TSBMain
object SubtitleFile: TFileNameEdit
Tag = 6
Left = 8
Height = 23
Top = 65
Height = 27
Top = 67
Width = 484
OnAcceptFileName = SubtitleFileAcceptFileName
FilterIndex = 0
Expand Down Expand Up @@ -210,8 +210,8 @@ object SBMain: TSBMain
end
object TimeSlicesList: TListBox
Left = 8
Height = 166
Top = 112
Height = 161
Top = 118
Width = 484
Align = alClient
BorderSpacing.Left = 8
Expand All @@ -223,11 +223,12 @@ object SBMain: TSBMain
OnKeyDown = GlobalKeyDownHandler
ScrollWidth = 482
TabOrder = 3
TopIndex = -1
end
object DoSplitPanel: TPanel
Left = 8
Height = 25
Top = 280
Top = 281
Width = 484
Align = alBottom
AutoSize = True
Expand All @@ -243,10 +244,10 @@ object SBMain: TSBMain
ParentColor = False
TabOrder = 4
object DoSplit: TBitBtn
Left = 444
Left = 460
Height = 25
Top = 0
Width = 40
Width = 24
Align = alRight
AutoSize = True
Caption = 'ببُر'
Expand All @@ -271,7 +272,7 @@ object SBMain: TSBMain
object TimeSlicesListActions: TPanel
Left = 8
Height = 20
Top = 90
Top = 96
Width = 484
Align = alTop
AutoSize = True
Expand Down Expand Up @@ -338,10 +339,10 @@ object SBMain: TSBMain
ShowCaption = False
end
object TimeSlicesListL: TLabel
Left = 231
Left = 206
Height = 20
Top = 0
Width = 253
Width = 278
Align = alRight
BidiMode = bdRightToLeft
Caption = 'لیست بازه های زمانی که قرار است "نگه داشته" بشوند:'
Expand Down Expand Up @@ -648,8 +649,8 @@ object SBMain: TSBMain
end
object StatsBar: TStatusBar
Left = 0
Height = 23
Top = 307
Height = 21
Top = 308
Width = 500
BorderSpacing.Top = 2
Panels = <
Expand Down
1 change: 1 addition & 0 deletions umain.pas
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@ procedure TSBMain.DeleteTimeSliceClick(Sender: TObject);

procedure TSBMain.ClearTimeSlicesClick(Sender: TObject);
begin
SubtitleFile.Clear;
TimeSlicesList.Items.Clear;
FormCreate(Self);
end;
Expand Down

0 comments on commit 406f888

Please sign in to comment.